package com.zb.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.io.Serializable;

/**
 * @ClassName TbQuotaModel
 * @Description 模型对象
 * @Author xm
 * @Date 2024/08/07 11:42
 **/
@Data
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("tb_quota")
@ApiModel(value = "TbQuotaModel", description = "")
public class TbQuotaModel implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "指标名称")
    private String name;

    @ApiModelProperty(value = "指标单位")
    private String unit;

    @ApiModelProperty(value = "报文主题")
    private String subject;

    @ApiModelProperty(value = "指标值字段")
    private String valueKey;

    @ApiModelProperty(value = "设备识别码字段")
    private String snKey;

    @ApiModelProperty(value = "web钩子")
    private String webhook;

    @ApiModelProperty(value = "指标字段类型，Double、Inteter、Boolean")
    private String valueType;

    @ApiModelProperty(value = "参考值")
    private String referenceValue;


}
